#ifndef EXMLNODE_H
#define EXMLNODE_H

#include <DefinePluginXml.h>
#include <DefineCommon.h>

#include <EItemMetaProperty.h>
#include <EItem.h>

/**The base node type of xml file
 * 
 * */
class EXmlNode;
typedef SmartPtr(EXmlNode) EXmlNodePtr;
class PLUGIN_XML_DLL EXmlNode : public EItem
{
public:
    EXmlNode();
    virtual ~EXmlNode();



    /*compute count of children that attach to this node directly*/
    void ui_DirectChildCount();

    EString ui_NameForStatistics;
    void OnSet_ui_NameForStatistics(const EString& value);

    void ui_StatisticsByTypeName();

    void ui_StatisticsAll();



protected:

};

#endif // EXMLNODE_H
